package com.yuyou.fn.educational.vo;

import java.math.BigDecimal;
import java.util.Date;

public class ThirdpartyDiscountCodeVo {

    private String batchId;

    private String code;

    private Integer type;

    private String typeName;

    private String systemType;

    private Long bizRuleId;

    /**
     * 优惠券是否可以与业务系统中原有优惠共存，0：否（不可叠加）、 1：是（可叠加）
     */
    private Integer bizCoexist;

    /**
    *折扣类型，0：立减、 1：满减、 2：折扣、 3：满折
     */
    private Integer discountType;

    private BigDecimal discountRequireAmount;

    private BigDecimal discountAmount;

    /**
     * 新旧生策略，0：仅旧生可用，1：仅新生可用，2：全部学生可用
     */
    private Integer forNew;

    /**
     * 0：未使用，1：已使用，2：已过期
     */
    private Integer status;

    private String version;

    private Date beginDate;

    private Date endDate;

    private String name ;

    private String desc ;

    private String rule ;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSystemType() {
        return systemType;
    }

    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }

    public Long getBizRuleId() {
        return bizRuleId;
    }

    public void setBizRuleId(Long bizRuleId) {
        this.bizRuleId = bizRuleId;
    }

    public Integer getBizCoexist() {
        return bizCoexist;
    }

    public void setBizCoexist(Integer bizCoexist) {
        this.bizCoexist = bizCoexist;
    }

    public Integer getDiscountType() {
        return discountType;
    }

    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getDiscountRequireAmount() {
        return discountRequireAmount;
    }

    public void setDiscountRequireAmount(BigDecimal discountRequireAmount) {
        this.discountRequireAmount = discountRequireAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public Integer getForNew() {
        return forNew;
    }

    public void setForNew(Integer forNew) {
        this.forNew = forNew;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
